
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.PigType;
import cn.edu.scau.cmi.hombio.domain.SaleTaskQuality;
import cn.edu.scau.cmi.hombio.domain.Task;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for SaleTaskQuality entities
 * 
 */
public interface SaleTaskQualityService {

	/**
	* Delete an existing PigType entity
	* 
	 */
	public SaleTaskQuality deleteSaleTaskQualityPigType(Integer saletaskquality_id, Integer related_pigtype_id);

	/**
	* Return all SaleTaskQuality entity
	* 
	 */
	public List<SaleTaskQuality> findAllSaleTaskQualitys(Integer startResult, Integer maxRows);

	/**
	* Save an existing PigType entity
	* 
	 */
	public SaleTaskQuality saveSaleTaskQualityPigType(Integer id, PigType related_pigtype);

	/**
	 */
	public SaleTaskQuality findSaleTaskQualityByPrimaryKey(Integer id_1);

	/**
	* Load an existing SaleTaskQuality entity
	* 
	 */
	public Set<SaleTaskQuality> loadSaleTaskQualitys();

	/**
	* Delete an existing Task entity
	* 
	 */
	public SaleTaskQuality deleteSaleTaskQualityTask(Integer saletaskquality_id_1, Integer related_task_id);

	/**
	* Delete an existing SaleTaskQuality entity
	* 
	 */
	public void deleteSaleTaskQuality(SaleTaskQuality saletaskquality);

	/**
	* Save an existing SaleTaskQuality entity
	* 
	 */
	public void saveSaleTaskQuality(SaleTaskQuality saletaskquality_1);

	/**
	* Save an existing Task entity
	* 
	 */
	public SaleTaskQuality saveSaleTaskQualityTask(Integer id_2, Task related_task);

	/**
	* Return a count of all SaleTaskQuality entity
	* 
	 */
	public Integer countSaleTaskQualitys();
}